<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>SingleCourseSchedule</title>
</head>
<style>
    td {
        border: olivedrab solid 1px;
    }
    td.course_td{
        width: 100px;
    }
</style>
<body>
 <div th:fragment="footer">
     <table style="text-align: center">
         <tr>
             <td>节次</td>
             <td class="course_td">星期一</td>
             <td class="course_td">星期二</td>
             <td class="course_td">星期三</td>
             <td class="course_td">星期四</td>
             <td class="course_td">星期五</td>
             <td class="course_td">星期六</td>
             <td class="course_td">星期七</td>
         </tr>
         <tr>
             <td>第1-2节(08:00-09:35)</td>
             <td th:text="${singleWeekCourse.getCourse(week, 1, 1)}">周一</td>
             <td th:text="${singleWeekCourse.getCourse(week, 2, 1)}">周二</td>
             <td th:text="${singleWeekCourse.getCourse(week, 3, 1)}">周三</td>
             <td th:text="${singleWeekCourse.getCourse(week, 4, 1)}">周四</td>
             <td th:text="${singleWeekCourse.getCourse(week, 5, 1)}">周五</td>
             <td th:text="${singleWeekCourse.getCourse(week, 6, 1)}">周六</td>
             <td th:text="${singleWeekCourse.getCourse(week, 7, 1)}">周七</td>
         </tr>
         <tr>
             <td>第3-5节(09:50-12:15)</td>
             <td th:text="${singleWeekCourse.getCourse(week, 1, 3)}">周一</td>
             <td th:text="${singleWeekCourse.getCourse(week, 2, 3)}">周二</td>
             <td th:text="${singleWeekCourse.getCourse(week, 3, 3)}">周三</td>
             <td th:text="${singleWeekCourse.getCourse(week, 4, 3)}">周四</td>
             <td th:text="${singleWeekCourse.getCourse(week, 5, 3)}">周五</td>
             <td th:text="${singleWeekCourse.getCourse(week, 6, 3)}">周六</td>
             <td th:text="${singleWeekCourse.getCourse(week, 7, 3)}">周七</td>
         </tr>
         <tr>
             <td>第6-7节(14:30-16:05)</td>
             <td th:text="${singleWeekCourse.getCourse(week, 1, 6)}">周一</td>
             <td th:text="${singleWeekCourse.getCourse(week, 2, 6)}">周二</td>
             <td th:text="${singleWeekCourse.getCourse(week, 3, 6)}">周三</td>
             <td th:text="${singleWeekCourse.getCourse(week, 4, 6)}">周四</td>
             <td th:text="${singleWeekCourse.getCourse(week, 5, 6)}">周五</td>
             <td th:text="${singleWeekCourse.getCourse(week, 6, 6)}">周六</td>
             <td th:text="${singleWeekCourse.getCourse(week, 7, 6)}">周七</td>
         </tr>
         <tr>
             <td>第8-9节(16:20-17:55)</td>
             <td th:text="${singleWeekCourse.getCourse(week, 1, 8)}">周一</td>
             <td th:text="${singleWeekCourse.getCourse(week, 2, 8)}">周二</td>
             <td th:text="${singleWeekCourse.getCourse(week, 3, 8)}">周三</td>
             <td th:text="${singleWeekCourse.getCourse(week, 4, 8)}">周四</td>
             <td th:text="${singleWeekCourse.getCourse(week, 5, 8)}">周五</td>
             <td th:text="${singleWeekCourse.getCourse(week, 6, 8)}">周六</td>
             <td th:text="${singleWeekCourse.getCourse(week, 7, 8)}">周七</td>
         </tr>
         <tr>
             <td>第10-12节(19:00-21:25)</td>
             <td th:text="${singleWeekCourse.getCourse(week, 1, 10)}">周一</td>
             <td th:text="${singleWeekCourse.getCourse(week, 2, 10)}">周二</td>
             <td th:text="${singleWeekCourse.getCourse(week, 3, 10)}">周三</td>
             <td th:text="${singleWeekCourse.getCourse(week, 4, 10)}">周四</td>
             <td th:text="${singleWeekCourse.getCourse(week, 5, 10)}">周五</td>
             <td th:text="${singleWeekCourse.getCourse(week, 6, 10)}">周六</td>
             <td th:text="${singleWeekCourse.getCourse(week, 7, 10)}">周七</td>
         </tr>
     </table>
 </div>
</body>
</html>